let staticJson=require('../assets.json');
let defaults=require('../config/defaults');

module.exports = function () {
    return async (ctx, next)=> {
        ctx.state.scope=Object.assign({},{staticJson},{body:defaults});
        await next();
    }
}